package com.pozu.new_retail.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.pozu.new_retail.dao.mapper.CategoryMapper;
import com.pozu.new_retail.dao.model.Category;
import com.pozu.new_retail.service.CategoryService;

@Service("categoryService")
public class CategoryServiceImpl implements CategoryService {

	@Autowired
	private CategoryMapper categoryMapper;
	
	@Override
	public List<Category> queryByAppId(int appId) {
		return categoryMapper.queryByAppId(appId);
	}

}
